/**
 * @author lanzier
 */
(function($){
	$.lanzier = {
		keys : {'uppercase' : 'uppercase', 'lowercase' : 'lowercase'},
		initprop : function(propertys) {
			$.each(propertys, function(i, n) {
				alert(n.attr("field"));
				if(n.attr("field")) {
					
				}	
			});
		},
		start: function(e){
			var data = $.data(this, 'pp-rwdrag');
			var el = data.options.el[0];
			$.data(el, 'pp-rwdrag', {
				options: data.options
			});
			if (!$.rwdrag.current) {
				$.rwdrag.current = {
					el: el,
					oleft: parseInt(el.style.left) || 0,
					otop: parseInt(el.style.top) || 0,
					ox: e.pageX || e.screenX,
					oy: e.pageY || e.screenY
				};
				$(document).bind("mouseup", $.rwdrag.stop);
				$(document).bind("mousemove", $.rwdrag.drag);
			}
		}
	};
})(jQuery);
